Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement last-call-deadline check for EIPs in Last Call status #409

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

apeaircreative
Copy link

Description

This PR addresses issue #21 by implementing a check to ensure the "last-call-deadline" for EIPs in "Last Call" status is at least two weeks in the future from the last commit date.

Changes Made

  • Updated the preMergeChanges function in merge.ts to include the new check
  • Added error handling for cases where the deadline is less than two weeks from the last commit

Errors Encountered

I am new to open source contribution and encountered the following errors when running the tests locally:

  1. Module Not Found Errors:

    • Cannot find module './types' or its corresponding type declarations.
    • Cannot find module 'front-matter' or its corresponding type declarations.
    • Cannot find module 'js-yaml' or its corresponding type declarations.
    • Cannot find module '../src/merge' or its corresponding type declarations.
    • Cannot find module '../src/types' or its corresponding type declarations.
  2. Incorrect Type Imports:

    • Module '\"@octokit/webhooks-types\"' has no exported member 'FrontMatter'.
    • Module '\"@octokit/webhooks-types\"' has no exported member 'File'.

Discussion from the Group

Based on the discussion, to use the eip-review-bot, you need to fork the ethereum/ERCs and/or ethereum/EIPs repositories. After forking, you'll need to configure the GitHub Actions workflow files and secrets in your forked repository to get the bot working.

The purpose of the eip-review-bot is to decide when to merge pull requests on the EIPs and ERCs repositories. It automatically merges an author's pull requests for their proposals without requiring an EIP Editor's involvement. When an Editor review is required, the bot pings the correct people in a comment.

Once the repository is forked and configured, the bot will run automatically after you create a pull request. You don't need to manually run it after creating a PR.

Request for Guidance

I'm new to contributing and would appreciate guidance on resolving the errors encountered and on the overall implementation. Thank you for your time and consideration!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant